home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3c / getpw.z / getpw
Encoding:
Text File  |  1998-10-20  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. GGGGEEEETTTTPPPPWWWW((((3333CCCC))))                                                            GGGGEEEETTTTPPPPWWWW((((3333CCCC))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      getpw - get name from UID
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssttttddddlllliiiibbbb....hhhh>>>>
  13.  
  14.      iiiinnnntttt ggggeeeettttppppwwww((((uuuuiiiidddd____tttt uuuuiiiidddd,,,, cccchhhhaaaarrrr ****bbbbuuuuffff))));;;;
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _g_e_t_p_w searches the password file for a user id number that equals _u_i_d,
  18.      copies the line of the password file in which _u_i_d was found into the
  19.      array pointed to by _b_u_f, and returns 0.  _g_e_t_p_w returns non-zero if _u_i_d
  20.      cannot be found.
  21.  
  22.      This routine is included only for compatibility with prior systems and
  23.      should not be used; see _g_e_t_p_w_e_n_t(3C) for routines to use instead.
  24.  
  25. FFFFIIIILLLLEEEESSSS
  26.      /etc/passwd
  27.  
  28. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  29.      getpwent(3C), passwd(4).
  30.  
  31. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  32.      _g_e_t_p_w returns non-zero on error.
  33.  
  34. WWWWAAAARRRRNNNNIIIINNNNGGGG
  35.      The above routine uses <<<<ssssttttddddiiiioooo....hhhh>>>>, which causes it to increase, more than
  36.      might be expected, the size of programs not otherwise using standard I/O.
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.